<h1><a href="/">Login</a></h1>
<form action="/login/authenticate/" class="form-dialog" method="post">
  <div><%= token_tag %></div>
  <p style="color: green"><%= flash[:notice] %></p>
  <p><label>Email:</label><input id="login_email" name="login[email]" type="text" /></input></p>
  <p><label>Password:</label><input id="login_password" name="login[password]" type="password" /></p>
  <p><input type="submit" value="Login" /></p>
</form>